Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add static ipam to kernel parameters for ISO patching: #558

Merged
merged 6 commits into from
Nov 23, 2024

Conversation

jacobweinstock
Copy link
Member

@jacobweinstock jacobweinstock commented Nov 22, 2024

Description

This adds optional static IPAM data to kernel parameters when patching an ISO.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

This adds static IPAM to kernel parameters
when patching an ISO.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock changed the title Add static ipam to kernel parameters: Add static ipam to kernel parameters for ISO patching: Nov 22, 2024
CLI Flag to enable/disable ISO static
IPAM.

Signed-off-by: Jacob Weinstock <[email protected]>
Copy link

codecov bot commented Nov 22, 2024

Codecov Report

Attention: Patch coverage is 76.84211% with 22 lines in your changes missing coverage. Please review.

Project coverage is 50%. Comparing base (108bffc) to head (c4fa09d).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
internal/iso/iso.go 76% 19 Missing and 2 partials ⚠️
cmd/smee/main.go 0% 1 Missing ⚠️
Additional details and impacted files
@@         Coverage Diff         @@
##           main   #558   +/-   ##
===================================
  Coverage    50%    50%           
===================================
  Files        27     27           
  Lines      2976   3042   +66     
===================================
+ Hits       1493   1550   +57     
- Misses     1428   1435    +7     
- Partials     55     57    +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

These are needed for proper VLAN interface creation.

Signed-off-by: Jacob Weinstock <[email protected]>
This moves the gating to the constructing of the
kernel parameters and makes it explicit to whether
ipam is included or not.

Signed-off-by: Jacob Weinstock <[email protected]>
Search domains was missing from being parsed.
Some basic tests were added.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock merged commit 774a9cc into tinkerbell:main Nov 23, 2024
5 checks passed
@jacobweinstock jacobweinstock deleted the iso-static-ipam branch November 23, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant